﻿-- =============================================
-- Author:      Sergey Solyanik
-- Create date: 7/25/09
-- Description: Adds code reviewer
-- =============================================
CREATE PROCEDURE [dbo].[CreateNewDocumentSet]
    @Title NVARCHAR (128),
    @Description NVARCHAR (MAX),
	@Result INT OUTPUT
AS
    INSERT INTO dbo.DocumentSet (UserAlias, Title, Description, TimeStamp, Status)
        VALUES(dbo.GetCurrentUserAlias(), @Title, @Description, GETUTCDATE(), 0)
    SET @Result = @@IDENTITY
RETURN 0